Fix broken links in documentation
authorStefan O'Rear <stefanor@cox.net>
Sun, 18 Oct 2015 09:54:13 +0000 (02:54 -0700)
committerStefan O'Rear <stefanor@cox.net>
Sun, 18 Oct 2015 09:54:13 +0000 (02:54 -0700)
src/doc/build-script.md
src/doc/crates-io.md
src/doc/environment-variables.md
src/doc/faq.md
src/doc/manifest.md

index 7d98d2f90bee705c4f2f6cd0bf04cc40841fbb3c..7f1016d29a212728ffd9310e8284e4fc8b1dcd29 100644 (file)
@@ -73,6 +73,8 @@ Any other element is a user-defined metadata that will be passed to
 dependencies. More information about this can be found in the [`links`][links]
 section.
 
+[links]: #the-links-manifest-key
+
 ## Build Dependencies
 
 Build scripts are also allowed to have dependencies on other Cargo-based crates.
@@ -115,7 +117,7 @@ In other words, it's forbidden to have two packages link to the same native
 library. Note, however, that there are [conventions in place][star-sys] to
 alleviate this.
 
-[star-sys]: #*-sys-packages
+[star-sys]: #-sys-packages
 
 As mentioned above in the output format, each build script can generate an
 arbitrary set of metadata in the form of key-value pairs. This metadata is
index 4a8f5c433f795b47c4620ffbfa247f9ba0228267..570b4456c69da990e4412b1666a2fe878c6a80e8 100644 (file)
@@ -34,7 +34,7 @@ num = "0.0.4"
 The string value for each key in this table is a [semver][semver] version
 requirement.
 
-[semver]: http://doc.rust-lang.org/semver/semver/#requirements
+[semver]: https://github.com/steveklabnik/semver#requirements
 
 **Caret requirements** allow SemVer compatible updates to a specified version.
 
index 83ff8c8c2a8cd20f85e6def890085cbe7314dfab..3ffc2c3fb10a7afc01695419c3de1fb54f15dbaa 100644 (file)
@@ -54,7 +54,7 @@ Here are a list of the variables Cargo sets, organized by when it sets them:
                        variables, see build script documentation about [`links`][links].
 
 [links]: build-script.html#the-links-manifest-key
-[profile]: manifest.html#the-[profile.*]-sections
+[profile]: manifest.html#the-profile-sections
 [clang]:http://clang.llvm.org/docs/CrossCompilation.html#target-triple
 
 # Environment variables Cargo sets for crates
index a3b45477794a30b6ea8118dabaa90cf4daf7b8d8..1c6963ac2581c536e16100efbfaa5d1aed54973e 100644 (file)
@@ -74,7 +74,7 @@ on the platform. Cargo also supports [platform-specific
 dependencies][target-deps], and we plan to support more per-platform
 configuration in `Cargo.toml` in the future.
 
-[target-deps]: manifest.html#the-[dependencies.*]-sections
+[target-deps]: manifest.html#the-dependencies-section
 
 In the longer-term, we're looking at ways to conveniently cross-compile
 projects using Cargo.
@@ -83,7 +83,7 @@ projects using Cargo.
 
 We support environments through the use of [profiles][profile] to support:
 
-[profile]: manifest.html#the-[profile.*]-sections
+[profile]: manifest.html#the-profile-sections
 
 * environment-specific flags (like `-g --opt-level=0` for development
   and `--opt-level=3` for production).
index c8ee1e8ad9db4a86c26091f5c6b21c1e68ec85cf..c00f33c0241352ab6cee3cb12d4f2d7156671ea7 100644 (file)
@@ -25,7 +25,7 @@ basic rules:
 * Use version numbers with three numeric parts such as 1.0.0 rather than 1.0.
 
 For more on versions, see [this
-documentation](crates-io.html#using-crates.io-based-crates).
+documentation](crates-io.html#using-cratesio-based-crates).
 
 ## The `build` Field (optional)
 
@@ -151,7 +151,7 @@ color = "> 0.6.0, < 0.8.0"
 ```
 
 The syntax of the requirement strings is described in the [crates.io
-guide](crates-io.html#using-crates.io-based-crates).
+guide](crates-io.html#using-cratesio-based-crates).
 
 Platform-specific dependencies take the same format, but are listed under the
 `target.$triple` section: